home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc International / Development / TSMTEsample⁄1.1 / Source / ShareTSM.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-14  |  770 b   |  36 lines  |  [TEXT/MPCC]

  1. /*
  2.     File:        ShareTSM.h
  3.  
  4.     Contains:    Interfaces for Sharing TSM document on OpenDoc part.
  5.  
  6.     Owned by:    Michihiro Kinbara
  7.  
  8.     Copyright:    © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <1>      7/2/93    Kin        New Today
  13.  
  14.     To Do:
  15. */
  16.  
  17. #ifndef _OD_SHARETSM_
  18. #define _OD_SHARETSM_
  19.  
  20. #ifndef __TEXTSERVICES__
  21. #include <TextServices.h>
  22. #endif
  23.  
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27.  
  28. extern pascal OSErr ODNewTSMDocumentForPart(short interfaceNum, OSType interfaceType[], TSMDocumentID *docID, long refcon);
  29. extern pascal OSErr ODUseTSMDocumentForPart(short interfaceNum, OSType interfaceType[], TSMDocumentID  docID, long refcon);
  30. extern pascal OSErr ODDeleteTSMDocumentForPart(TSMDocumentID docID);
  31.  
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35.  
  36. #endif